Skip to content

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Overloads

  • 1. public TrackingConfiguration<T> CanPersist(Func<T, bool> canPersistFunc)
  • 2. public ITrackingConfiguration CanPersist(Func<object, bool> canPersistFunc)

1. Overload

public TrackingConfiguration<T> CanPersist(Func<T, bool> canPersistFunc)

Summary: Determines whether this instance can persist the specified can persist function.

Parameters

NameTypeDescription
canPersistFuncFuncThe provided function will be used to get an identifier for a target object in order to identify the data that belongs to it.

Returns: TrackingConfiguration -- Tracking Configuration.

2. Overload

public ITrackingConfiguration CanPersist(Func<object, bool> canPersistFunc)

Summary: Determines whether this instance can persist the specified can persist function.

Parameters

NameTypeDescription
canPersistFuncFuncThe can persist function.

Returns: ITrackingConfiguration -- ITracking Configuration.